/**
 * @date 4:09:15 PM
 * IEducationAdminService.java
 * Administrator
 * TODO
 */
package com.qs.education.service;

import com.qs.education.bean.beans.EducationAdminResponse;
import com.qs.education.bean.beans.EducationTeacherResponse;

/**
 * @class IEducationAdminService
 * @author Brooks
 * @description 
 * @date Oct 17, 2018
 */
public interface IAdminService {
	/**
	 * @description 根据用户名和密码得到当前管理员
	 * @user Brooks
	 * @date Oct 17, 2018
	 * @return EducationAdminBean
	 */
	public EducationAdminResponse getEducationAdmin(String name,String password);


	/**
	 * 根据用户名查询用户
	 * @author Arwen Liu
	 * @date 2018-10-24
	 * @param name
	 * @return EducationAdmin 
	 */
	public EducationAdminResponse findAdminByName(String name);

	/**
	 * @Description 更改管理员密码
	 * @author Jason
	 * @date Nov 15, 2018
	 * @param oldPassword
	 * @param newPassword
	 * @param newPassword2 
	 * @return
	 */
	public EducationAdminResponse updateAdmin(String name ,String oldPassword, String newPassword);


}
